Post

Replies

Boosts

Views

Activity

Reply to StoreKit + SwiftUI Previews - No such module '_StoreKit_SwiftUI'
Check your 'Build Active Architecture Only' build settings. You probably want for everything but release configuration to be set to 'Yes'. Sounds like when you are building for your simulator, (assuming you are on intel Mac), your project is building the App for Intel and arm64 architecture. My guess is that your dependency code, (pod project build settings), has 'Build Active Architecture Only' set to 'Yes', and so is only building for Intel architecture, and hence you get the can't find module because yeah, it's not built for current architecture which is Intel when deploying to simulator.
Mar ’21